//Initialize events
if(Archetype.useEvents) {
	var span = document.createElement('span');
	span.id = "ArchetypeEventTechnicalLinksContainer";
	$(span).setStyle({display: "none"});
	document.body.insertBefore(span, document.body.firstChild);
     
	Object.extend(Archetype, Event.Publisher);
	Object.extend(Archetype, Event.Listener);
	Archetype.Events = {};
	Object.extend(Archetype.Events, Event.Broker);
	Archetype.Events.registerEventsPublisher(["Environnement", "Library", "Component"], Archetype);
	//Archetype.dispatchEvent("Environnement", "DefaultEnvironnement");
}